package com.hhq.demo.openfeign;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * <p>Description: some description </p>
 *
 * @author : xiaodong.yang
 * @date : 2024/1/5 16:00
 */
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.hhq"})
@MapperScan("com.hhq")
@EnableAspectJAutoProxy
@EnableFeignClients
public class DemoOpenfeignApplication {

    /**
     * 启动类
     *
     * @param args
     */
    public static void main(String[] args) {
        SpringApplication.run(DemoOpenfeignApplication.class, args);
    }
}
